//2 合并reducer

import { combineReducers } from 'redux';
import userReducer from './user';
import channelReducer from './channel';

const rootReducer = combineReducers({
  user: userReducer,
  channel: channelReducer,
});

export default rootReducer;
